package name.sra.png;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class EditorMain {
	
	private static Properties config;
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		createConfig();
		Editor editor = new Editor(config);
	}
	
	private static void createConfig() {
		InputStream configIs = ClassLoader.getSystemResourceAsStream(
										"png-editor-config.properties");
		config = new Properties();
		try {
			config.load(configIs);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
